home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Demos / RealPool Demo / 3D.DAT / 00136.ls < prev    next >
Encoding:
Text File  |  1998-05-02  |  307 b   |  14 lines

  1. on mouseDown
  2.   butsound()
  3.   repeat while the mouseDown
  4.     set yu to the scrollTop of cast 134
  5.     set yu to yu + 10
  6.     set yu2 to the height of cast 134 - the height of sprite 4
  7.     if yu > yu2 then
  8.       set yu to yu2
  9.     end if
  10.     set the scrollTop of cast 134 to yu
  11.     updateStage()
  12.   end repeat
  13. end
  14.